package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoStorageCompanyListVO;
import com.yunxi.sto.pojo.StoStorageCompanyVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoStorageCompanyDubboServiceMock implements  StoStorageCompanyDubboService {
    @Override
    public StoStorageCompanyVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoStorageCompanyVO vo  =  new  StoStorageCompanyVO();
        vo.setStorageCompanyNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoStorageCompanyVO stoStorageCompanyVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoStorageCompanyVO> findPageByVO(StoStorageCompanyVO stoStorageCompanyVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoStorageCompanyVO> page =  new   PageInfo<StoStorageCompanyVO>();
        List  list  =  new ArrayList();
        StoStorageCompanyVO vo =  new StoStorageCompanyVO();
        vo.setStorageCompanyNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public List<StoStorageCompanyVO> export(StoStorageCompanyVO stoStorageCompanyVO) throws Exception {
        List  list  =  new ArrayList();
        StoStorageCompanyVO vo =  new StoStorageCompanyVO();
        vo.setStorageCompanyNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void removeByListVo(List<StoStorageCompanyVO> stoStorageCompanyVOList) throws Exception {

    }

    @Override
    public void delAndReset(List<String> list, String isOnUse, String userId) throws Exception {

    }

    @Override
    public List<StoStorageCompanyListVO> companyList(String isOnUse) throws Exception {
        List  list  =  new ArrayList();
        StoStorageCompanyListVO vo =  new StoStorageCompanyListVO();
        vo.setStorageCompanyName("暂无数据");
        list.add(vo);
        return list;
    }
}
